<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="app">
       <span v-for="(item,index) in arr" :key="index">
           {{index}}:{{item}}
       </span>

        <ul>
            <li v-for="(val,key,index) in obj">
                {{index}}:{{key}}:{{val}}
            </li>
        </ul>
</div>
</body>
<script src="./js/vue.js"></script>
<script>
    Vue.config.productionTip = false;

    var vm = new Vue({
        el:"#app",
        data:{
            arr:["马什么梅","马冬梅","马什么梅","马冬梅"],
            obj:{
                name:"damu",
                age:18
            }
        }
    })
</script>
</html>